package com.jkc.xh.network.models;

import com.jkc.xh.utils.MD5Util;

/**
 * Created by wangjie28 on 2015/12/1.
 */
public class TradeSoldPartRequest {
    public String code;
    public String price;
    public String amount;
    public int selltype;
    public String hid;
    public String sign;

    public TradeSoldPartRequest(String code, String price, String amount, int selltype, String hid) {
        this.code = code;
        this.price = price;
        this.amount = amount;
        this.selltype = selltype;
        this.hid = hid;
        this.sign = MD5Util.MD5(this.code + "|" + this.price + "|" + this.amount + "|" + this.selltype + "|" + this.hid);
    }
}
